package com.stox.ui.javafx.navigator.model;

import com.stox.model.AbstractModel;
import com.stox.model.Scrip;

public class ScripTreeItem extends AbstractModelTreeItem<String> {

	private Scrip scrip;
	
	public ScripTreeItem(Scrip scrip) {
		super.setValue(scrip.getName());
		this.scrip = scrip;
	}
	
	@Override
	public AbstractModel getModel() {
		return scrip;
	}
	
}
